home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-04-09 | 17.1 KB | 565 lines | [TEXT/MPS ] |
- ;
- ; File: QD3DDrawContext.a
- ;
- ; Contains: Draw context class types and routines
- ;
- ; Version: Technology: Quickdraw 3D 1.5.4
- ; Release: QuickTime 3.0
- ;
- ; Copyright: © 1995-1998 by Apple Computer, Inc., all rights reserved.
- ;
- ; Bugs?: Please include the the file and version information (from above) with
- ; the problem description. Developers belonging to one of the Apple
- ; developer programs can submit bug reports to:
- ;
- ; devsupport@apple.com
- ;
- ;
- IF &TYPE('__QD3DDRAWCONTEXT__') = 'UNDEFINED' THEN
- __QD3DDRAWCONTEXT__ SET 1
-
- IF &TYPE('__QD3D__') = 'UNDEFINED' THEN
- include 'QD3D.a'
- ENDIF
-
- IF TARGET_OS_MAC THEN
- IF &TYPE('__QUICKDRAW__') = 'UNDEFINED' THEN
- include 'Quickdraw.a'
- ENDIF
- IF &TYPE('__FIXMATH__') = 'UNDEFINED' THEN
- include 'FixMath.a'
- ENDIF
- IF &TYPE('__GXTYPES__') = 'UNDEFINED' THEN
- include 'GXTypes.a'
- ENDIF
- ENDIF ; TARGET_OS_MAC
- ; ******************************************************************************
- ; ** **
- ; ** DrawContext Data Structures **
- ; ** **
- ; ****************************************************************************
-
-
- ; typedef long TQ3DrawContextClearImageMethod
- kQ3ClearMethodNone EQU 0
- kQ3ClearMethodWithColor EQU 1
-
- TQ3DrawContextData RECORD 0
- clearImageMethod ds.l 1 ; offset: $0 (0)
- clearImageColor ds TQ3ColorARGB ; offset: $4 (4)
- pane ds TQ3Area ; offset: $14 (20)
- paneState ds.l 1 ; offset: $24 (36)
- mask ds TQ3Bitmap ; offset: $28 (40)
- maskState ds.l 1 ; offset: $3C (60)
- doubleBufferState ds.l 1 ; offset: $40 (64)
- sizeof EQU * ; size: $44 (68)
- ENDR
- ; ******************************************************************************
- ; ** **
- ; ** DrawContext Routines **
- ; ** **
- ; ****************************************************************************
-
- ;
- ; extern TQ3ObjectType Q3DrawContext_GetType(TQ3DrawContextObject drawContext)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetType
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_SetData(TQ3DrawContextObject context, const TQ3DrawContextData *contextData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_SetData
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_GetData(TQ3DrawContextObject context, TQ3DrawContextData *contextData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetData
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_SetClearImageColor(TQ3DrawContextObject context, const TQ3ColorARGB *color)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_SetClearImageColor
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_GetClearImageColor(TQ3DrawContextObject context, TQ3ColorARGB *color)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetClearImageColor
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_SetPane(TQ3DrawContextObject context, const TQ3Area *pane)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_SetPane
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_GetPane(TQ3DrawContextObject context, TQ3Area *pane)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetPane
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_SetPaneState(TQ3DrawContextObject context, TQ3Boolean state)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_SetPaneState
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_GetPaneState(TQ3DrawContextObject context, TQ3Boolean *state)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetPaneState
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_SetClearImageMethod(TQ3DrawContextObject context, TQ3DrawContextClearImageMethod method)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_SetClearImageMethod
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_GetClearImageMethod(TQ3DrawContextObject context, TQ3DrawContextClearImageMethod *method)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetClearImageMethod
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_SetMask(TQ3DrawContextObject context, const TQ3Bitmap *mask)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_SetMask
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_GetMask(TQ3DrawContextObject context, TQ3Bitmap *mask)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetMask
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_SetMaskState(TQ3DrawContextObject context, TQ3Boolean state)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_SetMaskState
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_GetMaskState(TQ3DrawContextObject context, TQ3Boolean *state)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetMaskState
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_SetDoubleBufferState(TQ3DrawContextObject context, TQ3Boolean state)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_SetDoubleBufferState
- ENDIF
-
- ;
- ; extern TQ3Status Q3DrawContext_GetDoubleBufferState(TQ3DrawContextObject context, TQ3Boolean *state)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DrawContext_GetDoubleBufferState
- ENDIF
-
-
- ; ******************************************************************************
- ; ** **
- ; ** Pixmap Data Structure **
- ; ** **
- ; ****************************************************************************
-
- TQ3PixmapDrawContextData RECORD 0
- drawContextData ds TQ3DrawContextData ; offset: $0 (0)
- pixmap ds TQ3Pixmap ; offset: $44 (68)
- sizeof EQU * ; size: $64 (100)
- ENDR
- ; ******************************************************************************
- ; ** **
- ; ** Pixmap DrawContext Routines **
- ; ** **
- ; ****************************************************************************
-
- ;
- ; extern TQ3DrawContextObject Q3PixmapDrawContext_New(const TQ3PixmapDrawContextData *contextData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3PixmapDrawContext_New
- ENDIF
-
- ;
- ; extern TQ3Status Q3PixmapDrawContext_SetPixmap(TQ3DrawContextObject drawContext, const TQ3Pixmap *pixmap)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3PixmapDrawContext_SetPixmap
- ENDIF
-
- ;
- ; extern TQ3Status Q3PixmapDrawContext_GetPixmap(TQ3DrawContextObject drawContext, TQ3Pixmap *pixmap)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3PixmapDrawContext_GetPixmap
- ENDIF
-
-
-
- IF TARGET_OS_MAC THEN
- ; ******************************************************************************
- ; ** **
- ; ** Macintosh DrawContext Data Structures **
- ; ** **
- ; ****************************************************************************
-
-
- ; typedef long TQ3MacDrawContext2DLibrary
- kQ3Mac2DLibraryNone EQU 0
- kQ3Mac2DLibraryQuickDraw EQU 1
- kQ3Mac2DLibraryQuickDrawGX EQU 2
-
- TQ3MacDrawContextData RECORD 0
- drawContextData ds TQ3DrawContextData ; offset: $0 (0)
- window ds.l 1 ; offset: $44 (68)
- library ds.l 1 ; offset: $48 (72)
- viewPort ds.l 1 ; offset: $4C (76)
- grafPort ds.l 1 ; offset: $50 (80)
- sizeof EQU * ; size: $54 (84)
- ENDR
- ; ******************************************************************************
- ; ** **
- ; ** Macintosh DrawContext Routines **
- ; ** **
- ; ****************************************************************************
-
- ;
- ; extern TQ3DrawContextObject Q3MacDrawContext_New(const TQ3MacDrawContextData *drawContextData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_New
- ENDIF
-
- ;
- ; extern TQ3Status Q3MacDrawContext_SetWindow(TQ3DrawContextObject drawContext, CWindowPtr window)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_SetWindow
- ENDIF
-
- ;
- ; extern TQ3Status Q3MacDrawContext_GetWindow(TQ3DrawContextObject drawContext, CWindowPtr *window)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_GetWindow
- ENDIF
-
- ;
- ; extern TQ3Status Q3MacDrawContext_SetGXViewPort(TQ3DrawContextObject drawContext, gxViewPort viewPort)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_SetGXViewPort
- ENDIF
-
- ;
- ; extern TQ3Status Q3MacDrawContext_GetGXViewPort(TQ3DrawContextObject drawContext, gxViewPort *viewPort)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_GetGXViewPort
- ENDIF
-
- ;
- ; extern TQ3Status Q3MacDrawContext_SetGrafPort(TQ3DrawContextObject drawContext, CGrafPtr grafPort)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_SetGrafPort
- ENDIF
-
- ;
- ; extern TQ3Status Q3MacDrawContext_GetGrafPort(TQ3DrawContextObject drawContext, CGrafPtr *grafPort)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_GetGrafPort
- ENDIF
-
- ;
- ; extern TQ3Status Q3MacDrawContext_Set2DLibrary(TQ3DrawContextObject drawContext, TQ3MacDrawContext2DLibrary library)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_Set2DLibrary
- ENDIF
-
- ;
- ; extern TQ3Status Q3MacDrawContext_Get2DLibrary(TQ3DrawContextObject drawContext, TQ3MacDrawContext2DLibrary *library)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3MacDrawContext_Get2DLibrary
- ENDIF
-
- ENDIF ; TARGET_OS_MAC
- IF TARGET_OS_UNIX THEN
- ; ******************************************************************************
- ; ** **
- ; ** X/Windows DrawContext Data Structures **
- ; ** **
- ; ****************************************************************************
-
-
-
- TQ3XColormapData RECORD 0
- baseEntry ds.l 1 ; offset: $0 (0)
- maxRed ds.l 1 ; offset: $4 (4)
- maxGreen ds.l 1 ; offset: $8 (8)
- maxBlue ds.l 1 ; offset: $C (12)
- multRed ds.l 1 ; offset: $10 (16)
- multGreen ds.l 1 ; offset: $14 (20)
- multBlue ds.l 1 ; offset: $18 (24)
- sizeof EQU * ; size: $1C (28)
- ENDR
- TQ3XDrawContextData RECORD 0
- contextData ds TQ3DrawContextData ; offset: $0 (0)
- display ds.l 1 ; offset: $44 (68)
- drawable ds.l 1 ; offset: $48 (72)
- visual ds.l 1 ; offset: $4C (76)
- cmap ds.l 1 ; offset: $50 (80)
- colorMapData ds.l 1 ; offset: $54 (84)
- sizeof EQU * ; size: $58 (88)
- ENDR
- ; ******************************************************************************
- ; ** **
- ; ** X/Windows DrawContext Routines **
- ; ** **
- ; ****************************************************************************
-
- IF &TYPE('XDC_OLD') <> 'UNDEFINED' THEN
- ;
- ; extern TQ3DrawContextObject Q3XDrawContext_New(void )
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_New
- ENDIF
-
- ;
- ; extern void Q3XDrawContext_Set(TQ3DrawContextObject drawContext, unsigned long flag, void *data)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_Set
- ENDIF
-
- ;
- ; extern void Q3XDrawContext_Get(TQ3DrawContextObject drawContext, unsigned long flag, void *data)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_Get
- ENDIF
-
- ENDIF
- ;
- ; extern TQ3XBufferObject Q3XBuffers_New(Display *dpy, unsigned long numBuffers, Window window)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XBuffers_New
- ENDIF
-
- ;
- ; extern void Q3XBuffers_Swap(Display *dpy, TQ3XBufferObject buffers)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XBuffers_Swap
- ENDIF
-
- ;
- ; extern XVisualInfo *Q3X_GetVisualInfo(Display *dpy, Screen *screen)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3X_GetVisualInfo
- ENDIF
-
-
- ;
- ; extern TQ3DrawContextObject Q3XDrawContext_New(const TQ3XDrawContextData *xContextData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_New
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_SetDisplay(TQ3DrawContextObject drawContext, const Display *display)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_SetDisplay
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_GetDisplay(TQ3DrawContextObject drawContext, Display **display)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_GetDisplay
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_SetDrawable(TQ3DrawContextObject drawContext, Drawable drawable)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_SetDrawable
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_GetDrawable(TQ3DrawContextObject drawContext, Drawable *drawable)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_GetDrawable
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_SetVisual(TQ3DrawContextObject drawContext, const Visual *visual)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_SetVisual
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_GetVisual(TQ3DrawContextObject drawContext, Visual **visual)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_GetVisual
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_SetColormap(TQ3DrawContextObject drawContext, Colormap colormap)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_SetColormap
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_GetColormap(TQ3DrawContextObject drawContext, Colormap *colormap)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_GetColormap
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_SetColormapData(TQ3DrawContextObject drawContext, const TQ3XColormapData *colormapData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_SetColormapData
- ENDIF
-
- ;
- ; extern TQ3Status Q3XDrawContext_GetColormapData(TQ3DrawContextObject drawContext, TQ3XColormapData *colormapData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3XDrawContext_GetColormapData
- ENDIF
-
- ENDIF ; TARGET_OS_UNIX
- IF TARGET_OS_WIN32 THEN
- ; ******************************************************************************
- ; ** **
- ; ** Win32 DrawContext Data Structures **
- ; ** **
- ; ****************************************************************************
-
- TQ3Win32DCDrawContextData RECORD 0
- drawContextData ds TQ3DrawContextData ; offset: $0 (0)
- hdc ds.l 1 ; offset: $44 (68)
- sizeof EQU * ; size: $48 (72)
- ENDR
- IF ¬ (&TYPE('QD3D_NO_DIRECTDRAW') <> 'UNDEFINED') THEN
-
- ; typedef long TQ3DirectDrawObjectSelector
- kQ3DirectDrawObject EQU 1
- kQ3DirectDrawObject2 EQU 2
-
- ; typedef long TQ3DirectDrawSurfaceSelector
- kQ3DirectDrawSurface EQU 1
- kQ3DirectDrawSurface2 EQU 2
- TQ3DDSurfaceDescriptor RECORD 0
- objectSelector ds.l 1 ; offset: $0 (0)
- filler ds.l 4 ; offset: $4 (4)
- sizeof EQU * ; size: $14 (20)
- ENDR
- TQ3DDSurfaceDrawContextData RECORD 0
- drawContextData ds TQ3DrawContextData ; offset: $0 (0)
- ddSurfaceDescriptor ds TQ3DDSurfaceDescriptor ; offset: $44 (68)
- sizeof EQU * ; size: $58 (88)
- ENDR
- ENDIF
- ; ******************************************************************************
- ; ** **
- ; ** Win32DC DrawContext Routines **
- ; ** **
- ; ****************************************************************************
-
- ;
- ; extern TQ3DrawContextObject Q3Win32DCDrawContext_New(const TQ3Win32DCDrawContextData *drawContextData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3Win32DCDrawContext_New
- ENDIF
-
- ;
- ; extern TQ3Status Q3Win32DCDrawContext_SetDC(TQ3DrawContextObject drawContext, HDC newHDC)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3Win32DCDrawContext_SetDC
- ENDIF
-
- ;
- ; extern TQ3Status Q3Win32DCDrawContext_GetDC(TQ3DrawContextObject drawContext, HDC *curHDC)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3Win32DCDrawContext_GetDC
- ENDIF
-
- ; ******************************************************************************
- ; ** **
- ; ** DDSurface DrawContext Routines **
- ; ** **
- ; ****************************************************************************
-
- IF ¬ (&TYPE('QD3D_NO_DIRECTDRAW') <> 'UNDEFINED') THEN
- ;
- ; extern TQ3DrawContextObject Q3DDSurfaceDrawContext_New(const TQ3DDSurfaceDrawContextData *drawContextData)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DDSurfaceDrawContext_New
- ENDIF
-
- ;
- ; extern TQ3Status Q3DDSurfaceDrawContext_SetDirectDrawSurface(TQ3DrawContextObject drawContext, const TQ3DDSurfaceDescriptor *ddSurfaceDescriptor)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DDSurfaceDrawContext_SetDirectDrawSurface
- ENDIF
-
- ;
- ; extern TQ3Status Q3DDSurfaceDrawContext_GetDirectDrawSurface(TQ3DrawContextObject drawContext, TQ3DDSurfaceDescriptor *ddSurfaceDescriptor)
- ;
- IF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN
- IMPORT_CFM_FUNCTION Q3DDSurfaceDrawContext_GetDirectDrawSurface
- ENDIF
-
- ENDIF
- ENDIF ; TARGET_OS_WIN32
-
-
-
- ENDIF ; __QD3DDRAWCONTEXT__
-
-